FROM ccr.ccs.tencentyun.com/eqxiu/jre8

RUN mkdir /app

COPY ./target/eqxiu-ieditor-weixin-service-*.zip /app

RUN unzip /app/eqxiu-ieditor-weixin-service-*.zip -d /app/

WORKDIR /app

#RUN echo http://mirrors.ustc.edu.cn/alpine/v3.6/main > /etc/apk/repositories; \
#    echo http://mirrors.ustc.edu.cn/alpine/v3.6/community >> /etc/apk/repositories
#RUN  apk add --no-cache tzdata \
#    && echo 'Asia/Shanghai' > /etc/timezone \
#    && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

EXPOSE 20990

ENTRYPOINT  /entrypoint.sh;/bin/sh bin/boot.sh start